package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.ProductAttrQueryParamDto;
import com.aiti.lulian.entity.EnterpriseProductAttr;
import com.aiti.lulian.vo.ProductAttrVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EnterpriseProductAttrMapper extends SuperMapper<EnterpriseProductAttr>{

    List<ProductAttrVo> pageList(Page<ProductAttrVo> page, @Param("dto") ProductAttrQueryParamDto dto);

    void deleteByBaseIdList(@Param("baseIdList") List<String> baseIdList, String userId, String username);

    List<ProductAttrVo> queryListByEnterpriseId(@Param("enterpriseId") String enterpriseId);
}
